<?php
  error_reporting(E_ALL);
  ini_set('display_errors', '1');
  require("lib/Yahoo.inc");
  
  // When you replaced with your own keys here and once run this should go to Yahoo login page else some thing went wrong in your app registration and keys

  // Your Consumer Key (API Key) goes here.
  define('CONSUMER_KEY', "dj0yJmk9dGJoYTQ2dFVNcWhvJmQ9WVdrOVJVMUdRMGxoTlRBbWNHbzlOelkzTnpVd056WXkmcz1jb25zdW1lcnNlY3JldCZ4PWMz");

  // Your Consumer Secret goes here.
  define('CONSUMER_SECRET', "d80f8968e74aa4e3e4000e2bbb41250028c89ac6");

  // Your application ID goes here.
  define('APPID', "EMFCIa50");
    
  $session = YahooSession::requireSession(CONSUMER_KEY,CONSUMER_SECRET,APPID);
?>